package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Standardlevel;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface StandardlevelDAO extends JpaDao<Standardlevel> {

	public Standardlevel findStandardlevelById(Integer id) throws DataAccessException;

	public Standardlevel findStandardlevelById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByName(String name) throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByNameContaining(String name_1) throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByDescription(String description) throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Standardlevel findStandardlevelByPrimaryKey(Integer id) throws DataAccessException;

	public Standardlevel findStandardlevelByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardlevel> findStandardlevelsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Standardlevel> findAllStandardlevels() throws DataAccessException;

	public Set<Standardlevel> findAllStandardlevels(int startResult, int maxRows) throws DataAccessException;

	public Set<Standardlevel> findStandardlevelByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardlevel> findStandardlevelsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Standardlevel findStandardlevelByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Standardlevel findStandardlevelByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
